﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM2012Server.Business
{
    public class MaterialInfo
    {
        private String materialId;
        public System.String MaterialId
        {
            get { return materialId; }
            set { materialId = value; }
        }
        private String materialName;
        public System.String MaterialName
        {
            get { return materialName; }
            set { materialName = value; }
        }
        private String cateId;
        public System.String CateId
        {
            get { return cateId; }
            set { cateId = value; }
        }
        private String unitId;
        public System.String UnitId
        {
            get { return unitId; }
            set { unitId = value; }
        }
        private Double price;
        public System.Double Price
        {
            get { return price; }
            set { price = value; }
        }
        private bool state;
        public bool State
        {
            get { return state; }
            set { state = value; }
        }
        private bool isMenu;
        public bool IsMenu
        {
            get { return isMenu; }
            set { isMenu = value; }
        }
        private Double warningQuantity;
        public System.Double WarningQuantity
        {
            get { return warningQuantity; }
            set { warningQuantity = value; }
        }
        private Double stockQuantity;
        public System.Double StockQuantity
        {
            get { return stockQuantity; }
            set { stockQuantity = value; }
        }
        private String remark;
        public System.String Remark
        {
            get { return remark; }
            set { remark = value; }
        }
        public MaterialInfo(){}

        public MaterialInfo(String materialId, String materialName, String cateId, String unitId, Double price, bool state, bool isMenu, Double warningQuantity, Double stockQuantity, String remark)
        {
            this.materialId = materialId;
            this.materialName = materialName;
            this.cateId = cateId;
            this.unitId = unitId;
            this.price = price;
            this.state = state;
            this.isMenu = isMenu;
            this.warningQuantity = warningQuantity;
            this.stockQuantity = stockQuantity;
            this.remark = remark;
        }
    }
}
